package com.htht.smartschool.model.teacher;

import java.util.List;
import java.util.Map;

import com.htht.smartschool.common.model.Entity;

/**
 * TClass entity. @author MyEclipse Persistence Tools
 */

public class TClass extends Entity implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String classcode;
	private Integer grade;
	private Integer class_;
	private String type;
	private String teachercode;
	private String schoolcode;
	private String name;
	private String classcodes;
	private String classes;
	private String rolecode;
	private String schooltype;
	private TTeacher teacher;
	private List<TClass> typeList;

	// Constructors

	/** default constructor */
	public TClass() {
	}

	/** full constructor */
	public TClass(String classcode, Integer grade, Integer class_, String type,
			String teachercode) {
		this.classcode = classcode;
		this.grade = grade;
		this.class_ = class_;
		this.type = type;
		this.teachercode = teachercode;
	}
	
	// Property accessors

	public String getSchooltype() {
		return schooltype;
	}

	public void setSchooltype(String schooltype) {
		this.schooltype = schooltype;
	}

	public String getClasscode() {
		return this.classcode;
	}

	public String getClasscodes() {
		return classcodes;
	}

	public void setClasscodes(String classcodes) {
		this.classcodes = classcodes;
	}

	public String getClasses() {
		return classes;
	}

	public void setClasses(String classes) {
		this.classes = classes;
	}

	public void setClasscode(String classcode) {
		this.classcode = classcode;
	}

	public Integer getGrade() {
		return this.grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public Integer getClass_() {
		return this.class_;
	}

	public void setClass_(Integer class_) {
		this.class_ = class_;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTeachercode() {
		return this.teachercode;
	}

	public void setTeachercode(String teachercode) {
		this.teachercode = teachercode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public TTeacher getTeacher() {
		return teacher;
	}

	public void setTeacher(TTeacher teacher) {
		this.teacher = teacher;
	}

	public String getSchoolcode() {
		return schoolcode;
	}

	public void setSchoolcode(String schoolcode) {
		this.schoolcode = schoolcode;
	}

	public List<TClass> getTypeList() {
		return typeList;
	}

	public void setTypeList(List<TClass> typeList) {
		this.typeList = typeList;
	}

	public String getRolecode() {
		return rolecode;
	}

	public void setRolecode(String rolecode) {
		this.rolecode = rolecode;
	}

}